﻿@model FruitCake.ContactPage.Models.ContactRequestRecord

@* @using (Html.BeginForm("Edit", "Request", new { area = "FruitCake.ContactPage" }, FormMethod.Post)) *@
       
@using (Html.BeginFormAntiForgeryPost()) 
{
    @Html.ValidationSummary()

    <fieldset>
        <legend></legend>

        @Html.LabelFor(m => m.Name, T("Name"))
        @Html.EditorFor(m => m.Name)

        @Html.LabelFor(m => m.Mail, T("Mail"))
        @Html.EditorFor(m => m.Mail)

        @Html.LabelFor(m => m.Reason, T("Reason"))
        @Html.EditorFor(m => m.Reason)

        @Html.LabelFor(m => m.Subject, T("Subject"))
        @Html.EditorFor(m => m.Subject)

        @Html.LabelFor(m => m.Text, T("Text"))
        @Html.TextAreaFor(m => m.Text)

    </fieldset>
    <fieldset>
        <legend></legend>        
        <button class="primaryAction" type="submit">@T("Save")</button>
        @Html.ActionLink(T("Cancel").Text, "Index", "Admin", new { @class = "primaryAction button" })
    </fieldset>
    
    @*
        public virtual int Id { get; set; }

        public virtual RequestState StateValue { get; set; }
        public virtual String StateUser { get; set; }
        public virtual DateTime StateDate { get; set; }

    *@
}
